package com.wuad.platformwuad.module.user.service.impl;

import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wuad.platformwuad.module.user.entity.UserEntity;
import com.wuad.platformwuad.module.user.mapper.UserMapper;
import com.wuad.platformwuad.module.user.service.UserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 *
 * @author wuaodi
 */
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, UserEntity> implements UserService {

    @Resource
    private UserMapper userMapper;

    @Override
    public UserEntity getUser(String id) {
        return userMapper.selectById(id);
    }
}
